<?php

namespace app\index\model;

use think\Model;
use think\model\relation\BelongsTo;

class Order extends Model
{
    protected $pk = 'orde_id';

    public function member(){
        return $this->BelongsTo('Member', 'orde_sender_id', 'memb_id')->bind(['sender' => 'memb_phone']);
    }
}
